<!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" href="/favicon.ico"/><meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"/><meta name="referrer" content="unsafe-url"/><script async src="https://logcollection.drcnet.com.cn/collection/javascript/16"></script><script src="./js/fingerprint_conf.js"></script><style>#pdf-container canvas {
      position: relative;
      z-index: 100;
    }</style><title>国研网-综合版</title><style>.ie-warning {
      background-color: #f9f9f9;
      padding: 20px;
      margin: 20px;
      border-radius: 5px;
    }</style><script defer="defer" src="/js/chunk-vendors.1747893453831.js"></script><script defer="defer" src="/js/index.1747893453831.js"></script><link href="/css/chunk-vendors.2a1afa79.css" rel="stylesheet"><link href="/css/index.2df7edc8.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 国研网-综合版 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="appDatas"></div><script src="./js/jquery-3.5.1.min.js"></script><script>// 检查浏览器是否为IE
    var isIE =
      /msie|trident/i.test(navigator.userAgent) &&
      !/opera/i.test(navigator.userAgent);

    // 创建警告信息的HTML内容
    var warningContent =
      '<div class="ie-warning"><h2 style="padding-bottom: 30px">您的浏览器版本过低</h2><p>建议使用新版本的浏览器如Chrome，Firefox，Edge等访问本网站。</p></div>';

    // 如果是IE浏览器，则在页面中插入警告信息
    if (isIE) {
      document.getElementById('appDatas').innerHTML = warningContent;
      // 如果需要执行额外逻辑，可以在这里添加
    } else {
      document.getElementById('appDatas').innerHTML =
        '<div id="app"></div>';
      // 如果不是IE浏览器，可以在此处插入其他HTML内容或者加载Vue Router视图
    }

    //-------------------------------------------------
    //收集所有a标签-js原生版本-后续可能还需要
    // window.addEventListener('load', function ()
    // {
    //   // console.log(window.localStorage);

    //   console.log(window.localStorage.getItem('username'));
    //   // 存储已处理的<a>标签，避免重复检查
    //   const processedLinks = new WeakSet();
    //   // 存储符合条件的链接
    //   const matchedLinks = new Set();

    //   // 解析URL并检查参数
    //   function checkLink (link)
    //   {
    //     try {
    //       const url = new URL(link.href);
    //       const params = url.searchParams;
    //       const keys = new Set(Array.from(params.keys(), key => key.toLowerCase()));
    //       if (keys.has('docid') && keys.has('leafid')) {
    //         matchedLinks.add(url.href);
    //       }
    //     } catch (e) {
    //       console.error('解析URL失败:', link.href, e);
    //     }
    //   }

    //   // 收集并检查所有<a>标签
    //   function collectLinks ()
    //   {
    //     const links = document.getElementsByTagName('a');
    //     for (const link of links) {
    //       if (!processedLinks.has(link)) {
    //         processedLinks.add(link);
    //         checkLink(link);
    //       }
    //     }
    //     // 输出结果（可根据需要调整）
    //     if (matchedLinks.size > 0) {
    //       console.log('匹配的链接:', Array.from(matchedLinks));
    //     }
    //   }

    //   // 初始收集
    //   collectLinks();

    //   // 监听DOM变化以处理动态加载的内容
    //   const observer = new MutationObserver(function (mutations)
    //   {
    //     collectLinks();
    //   });

    //   observer.observe(document.body, {
    //     childList: true,   // 监听子元素变化
    //     subtree: true      // 监听所有后代元素
    //   });
    // });
    //-----------------------------------------------------------
    // 功能-替换标签链接把文章详情也全部替换成测试的
    // document.addEventListener('click', function (event)
    // {
    //   // 只处理a标签的点击
    //   const target = event.target.closest('a')
    //   if (target) {
    //     // 获取原始链接
    //     const originalHref = target.href

    //     // 判断是否包含目标域名
    //     if (originalHref && originalHref.includes('d.drcnet.com.cn/eDRCnet.common.web/DocDetail.aspx')) {
    //       event.preventDefault() // 阻止默认跳转

    //       // 替换域名
    //       const newHref = originalHref.replace(
    //         'https://d.drcnet.com.cn/eDRCnet.common.web/DocDetail.aspx',
    //         'http://lsh.drcnet.com.cn:81'
    //       )
    //       //'https://testdetails.drcnet.com.cn'
    //       window.open(newHref, '_blank')
    //       // 执行跳转
    //       // window.location.href = newHref
    //     }
    //   }
    // })</script></body></html>